package com.tccmeta.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.tccmeta.po.Meta;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.SelectProvider;

import java.util.List;
import java.util.Map;

/**
 * @author pan
 * @date 2021/5/17 15:34
 */
@Mapper
public interface MetaRelationDataMapper {
    @SelectProvider(type = MetaRelationDataSqlProvider.class, method = "findPage")
    Page<Map<String,Object>> findPage(Page<Map<?,?>> page, Meta meta);

    @SelectProvider(type = MetaRelationDataSqlProvider.class, method = "findAll")
    List<Map<?,?>> findAll(Meta meta);

}
